﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="chaxun_jigou_pingtai.aspx.cs" Inherits="chaxun_jigou_pingtai" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
     <link href="../style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">   
    <table style="width: 872px" class="font33" align="left">
        <tr style="display:none">
		            <td style="width: 546px;padding-top:12px;" class="font3" colspan="2">
                <asp:Label ID="Label3" runat="server" Height="24px" Text="选择机构：" Width="77px"></asp:Label>
                <asp:Button ID="jigouID" runat="server"></asp:Button></td>
        </tr>
        <tr>          
            <td style="width: 546px" class="font33" colspan="2">
			<asp:Label ID="Label1" runat="server" Text="     "></asp:Label>
                <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataSourceID="SqlDataSource1"
                    Height="51px" Width="820px" BorderWidth=0 class="border_det">
                    <Fields>
                        <asp:BoundField DataField="jigou" HeaderText="机构名称" SortExpression="jigou" />
                        <asp:BoundField DataField="username1" HeaderText="负责人" SortExpression="username1" />
                        <asp:BoundField DataField="city" HeaderText="所在城市" SortExpression="city" />
                        <asp:BoundField DataField="email" HeaderText="email" SortExpression="email" />
                        <asp:BoundField DataField="mobile" HeaderText="手机" SortExpression="mobile" />
                        <asp:BoundField DataField="zhuceRS" HeaderText="注册人数" SortExpression="zhuceRS" />
                        <asp:BoundField DataField="yiskf" HeaderText="已收课费" SortExpression="yiskf" />
                        <asp:TemplateField HeaderText="机构简介">
                            <ItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" Height="171px" Text='<%# Eval("grjj") %>'
                                    TextMode="MultiLine" Width="490px"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:HyperLinkField DataNavigateUrlFields="jigou" DataNavigateUrlFormatString="~/kecheng/chaxun_jigou_kecheng.aspx?zjigou={0}"
                            DataTextField="jigou" HeaderText="操作" DataTextFormatString="查看“{0}”开设的课程" Visible="False" />
                    </Fields>
                </asp:DetailsView>
            </td>
        </tr>       
        <tr>           
            <td style="width: 546px" colspan="2">
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:gConnectionString %>"
                    SelectCommand="SELECT [jigou], [id], [role], [username1], [city], [email], [mobile], [grjj],[zhuceRS],[yiskf] FROM [account] WHERE [id] = @jigou">
                    <SelectParameters>
                        <asp:ControlParameter ControlID="jigouID" Name="jigou" PropertyName="Text"
                            Type="string" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </td>
        </tr>
    </table>
    <a href="jigou_list.aspx">返回列表</a>
</form>
</body>
</html>

